package com.rc.pojo.dto.comment;

import com.rc.common.model.ImageModel;
import lombok.Builder;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import java.util.List;


@Data
@Builder
public class CommentAddDTO {
    private Long itemId;
    @Range(max = 2)
    private Integer type;
    private String content;
    @Range(max = 5)
    private Integer score;
    private List<ImageModel> imgs;
}
